package com.huatai.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.manage.entity.TbStageMainEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huatai.manage.query.PageQuery;

import com.huatai.manage.vo.ResultVo;

import java.util.List;

/**
 * <p>
 * 阶段管理 服务类
 * </p>
 *
 * @author luoxc
 * @since 2023-03-22
 */
public interface TbStageMainService extends IService<TbStageMainEntity> {

	Page<TbStageMainEntity> pageList(PageQuery<TbStageMainEntity> pageQuery);

	TbStageMainEntity getByStageId(String stageId);

	boolean removes(List<String> stageIds);

	boolean update(TbStageMainEntity tbStageMainEntity);

    Page<TbStageMainEntity> pageByTrialId(PageQuery<TbStageMainEntity> pageQuery);

	List<ResultVo>  getByTrialId(String trialId);

	List<TbStageMainEntity> listByTrialId(String trialId);

	List<TbStageMainEntity> selectAll();
}
